class Classads < Formula
  desc "Classified Advertisements (used by HTCondor Central Manager)"
  homepage "https://research.cs.wisc.edu/htcondor/classad/"
  url "https://ftp.cs.wisc.edu/condor/classad/c++/classads-1.0.10.tar.gz"
  sha256 "cde2fe23962abb6bc99d8fc5a5cbf88f87e449b63c6bca991d783afb4691efb3"

  bottle do
    rebuild 1
    sha256 cellar: :any, big_sur:      "dcc6e15e209b41868d0e328ca0d65aac6416c923b494f53f1259ed97b64f4b33"
    sha256 cellar: :any, catalina:     "9803231cebf936ef95bd86c820a7f3ba832c56109ad8a527ac5786d1d6150234"
    sha256 cellar: :any, mojave:       "2c2987f20d62b7c0926071bfe5c2c9825b30b4c6dba4dd20e2d2f34c5369ef44"
    sha256 cellar: :any, high_sierra:  "febef9dc12fdea8d1dbd1687f835ac8a58d8a7534ce2a0735d6102872058ec59"
    sha256 cellar: :any, sierra:       "d51471a725a552974a309b8add05ca731264f7a0fbaedee1c85b97475c204cb7"
    sha256 cellar: :any, el_capitan:   "52bd3bb21e7a2491ad96f01988b802ab183c5e93d3123e9cc57b75e1a0076171"
    sha256 cellar: :any, yosemite:     "2ec01b2285391e8c1a696c783db281dc69c05e0f2c483792129799b8ad304d7e"
    sha256 cellar: :any, mavericks:    "b2ba8857a9e07ece0c19ac04a78893322bb22b361e28d5eb23abfa2515e965c9"
    sha256 cellar: :any, x86_64_linux: "909635d1a430caa525b45dc818b110296da7c70d5e54c0a549156e5b8a532a33"
  end

  depends_on "pcre"

  def install
    system "./configure", "--enable-namespace", "--prefix=#{prefix}"
    system "make", "install"
  end
end
